package com.liukai.java_jxgl.service.impl;

import com.liukai.java_jxgl.mapper.IDeptMapper;
import com.liukai.java_jxgl.model.Dept;
import com.liukai.java_jxgl.service.IDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServiceImpl implements IDeptService {

    @Autowired
    private IDeptMapper iDeptMapper;

    @Override
    public List<Dept> getAllDeptAndClass() {
        return iDeptMapper.getAllDeptAndClass();
    }

}
